package com.ruoyi.common.enums;

/**
 * 爬虫状态
 *
 * @author 杨森
 */
public enum  CrawlerStatusType {
    NORMAL("NORMAL","正常"),
    CRAWLING("CRAWLING","爬虫中"),
    ;
    private String crawlerStatusTypeCode;
    private String crawlerStatusTypeMessage;

    public String getCrawlerStatusTypeCode() {
        return crawlerStatusTypeCode;
    }

    public void setCrawlerStatusTypeCode(String crawlerStatusTypeCode) {
        this.crawlerStatusTypeCode = crawlerStatusTypeCode;
    }

    public String getCrawlerStatusTypeMessage() {
        return crawlerStatusTypeMessage;
    }

    public void setCrawlerStatusTypeMessage(String crawlerStatusTypeMessage) {
        this.crawlerStatusTypeMessage = crawlerStatusTypeMessage;
    }

    CrawlerStatusType(String crawlerStatusTypeCode, String crawlerStatusTypeMessage) {
        this.crawlerStatusTypeCode = crawlerStatusTypeCode;
        this.crawlerStatusTypeMessage = crawlerStatusTypeMessage;
    }
}
